package com.biz.primus.app.erpbridge.stream;

import com.biz.primus.base.constant.GeoStreamConstant;
import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * GeoUpdateSink
 *
 * @author JKLiues
 * @date 2017年11月18日
 */
public interface GeoUpdateSink {

    @Input(GeoStreamConstant.ALL)
    SubscribableChannel pushAll();

    @Input(GeoStreamConstant.PROVINCE)
    SubscribableChannel pushProvince();

    @Input(GeoStreamConstant.CITY)
    SubscribableChannel pushCity();

    @Input(GeoStreamConstant.DISTRICT)
    SubscribableChannel pushDistrict();
}